package com.tqfframe.website.web.config;

import com.tqfframe.website.web.config.domain.FactoryTestBean;
import com.tqfframe.website.web.filter.MyFilterType;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;

/**
 * @Author: 唐祺峰
 * @Date: 2020/12/28 0028 15:19
 * @Version 1.0
 */
//@ComponentScan(
//        excludeFilters = {
//        @ComponentScan.Filter(
//                type = FilterType.CUSTOM,
//                classes = {MyFilterType.class}
//        )}
//)
@Configuration
public class ScanTestConfig {

    @Bean("factoryTestBean")
    public FactoryTestBean factoryTestBean(){
        return new FactoryTestBean();
    }

}
